Package com.cisco.pt.ipc.sim.impl
Class EIGRPTopologyEntryImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.EIGRPTopologyEntryImpl
- All Implemented Interfaces:
IPCData,EIGRPTopologyEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected IPAddressprotected intprotected List<EIGRPRoutingEntry>protected EIGRPTopologyEntryStateprotected IPAddressprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetState()intvoidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetFeasibleDistance(int feasibleDistance) voidsetNetwork(IPAddress network) voidsetReportedDistance(int reportedDistance) voidsetRoutingEntries(List<EIGRPRoutingEntry> routingEntries) voidsetState(EIGRPTopologyEntryState state) voidsetSubnetMask(IPAddress subnetMask) voidsetSuccessorCount(int successorCount) Methods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVector
-
Field Details
-
network
-
subnetMask
-
state
-
feasibleDistance
protected int feasibleDistance -
reportedDistance
protected int reportedDistance -
successorCount
protected int successorCount -
routingEntries
-
-
Constructor Details
-
EIGRPTopologyEntryImpl
public EIGRPTopologyEntryImpl()
-
-
Method Details
-
getNetwork
- Specified by:
getNetworkin interfaceEIGRPTopologyEntry- Returns:
- IPAddress Returns a IPAddress
-
setNetwork
- Specified by:
setNetworkin interfaceEIGRPTopologyEntry- Parameters:
network- Takes in a parameter of network
-
getSubnetMask
- Specified by:
getSubnetMaskin interfaceEIGRPTopologyEntry- Returns:
- IPAddress Returns a IPAddress
-
setSubnetMask
- Specified by:
setSubnetMaskin interfaceEIGRPTopologyEntry- Parameters:
subnetMask- Takes in a parameter of subnetMask
-
getState
- Specified by:
getStatein interfaceEIGRPTopologyEntry- Returns:
- EIGRPTopologyEntryState Returns a EIGRPTopologyEntryState
-
setState
- Specified by:
setStatein interfaceEIGRPTopologyEntry- Parameters:
state- Takes in a parameter of state
-
getFeasibleDistance
public int getFeasibleDistance()- Specified by:
getFeasibleDistancein interfaceEIGRPTopologyEntry- Returns:
- int Returns a int
-
setFeasibleDistance
public void setFeasibleDistance(int feasibleDistance) - Specified by:
setFeasibleDistancein interfaceEIGRPTopologyEntry- Parameters:
feasibleDistance- Takes in a parameter of feasibleDistance
-
getReportedDistance
public int getReportedDistance()- Specified by:
getReportedDistancein interfaceEIGRPTopologyEntry- Returns:
- int Returns a int
-
setReportedDistance
public void setReportedDistance(int reportedDistance) - Specified by:
setReportedDistancein interfaceEIGRPTopologyEntry- Parameters:
reportedDistance- Takes in a parameter of reportedDistance
-
getSuccessorCount
public int getSuccessorCount()- Specified by:
getSuccessorCountin interfaceEIGRPTopologyEntry- Returns:
- int Returns a int
-
setSuccessorCount
public void setSuccessorCount(int successorCount) - Specified by:
setSuccessorCountin interfaceEIGRPTopologyEntry- Parameters:
successorCount- Takes in a parameter of successorCount
-
getRoutingEntries
- Specified by:
getRoutingEntriesin interfaceEIGRPTopologyEntry- Returns:
- List<EIGRPRoutingEntry> Returns a List<EIGRPRoutingEntry>
-
setRoutingEntries
- Specified by:
setRoutingEntriesin interfaceEIGRPTopologyEntry- Parameters:
routingEntries- Takes in a parameter of routingEntries
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Specified by:
readin classIPCDataImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-